package com.wxx.strategy;

/**
 * @author Jetwang
 * @version 1.0
 * @date 2022/5/25 20:03
 */
public class PromotionActivity {
    private PromotionStrategy strategy;

    public PromotionActivity(PromotionStrategy strategy) {
        this.strategy = strategy;
    }

    public void executePromotionStrategy() {
        strategy.doPromotion();
    }
}
